<%--
  Created by IntelliJ IDEA.
  User: MJ
  Date: 2021/10/18
  Time: 21:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>修改类型</title>
    <script src="../../js/jquery-3.6.0.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
          integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
            integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
            crossorigin="anonymous"></script>
    <link rel="stylesheet" href="../../css/menustyle.css">

</head>
<body>

<div class="container-fluid">
    <div class="row-fluid clearfix">
        <!-- 导航栏 -->
        <div id="sidebar">
            <header>
                <a href="#">后台管理</a>
            </header>
            <ul class="nav">
                <li>
                    <a href="${pageContext.request.contextPath}/admin/allReader">
                        读者管理
                    </a>
                </li>
                <li>
                    <a href="#">
                        出入库管理
                    </a>
                </li>
                <li>
                    <a href="#">
                        借阅管理
                    </a>
                </li>
                <li>
                    <a href="#">
                        分类管理
                    </a>
                </li>
            </ul>
        </div>

        <!-- 正文 -->
        <div id="content">
            <div class="container-fluid" style="margin-left: 250px">
                <!-- 网页内容 -->
                <div class="row-fluid clearfix">
                    <div class="col-md-12 column">
                        <div class="page-header">
                            <h1>
                                <small>类型管理 —— 修改类型名称</small>
                            </h1>
                        </div>
                    </div>
                </div>

                <div class="row-fluid clearfix">
                    <div class="col-md-4 column">
                        <form action="${pageContext.request.contextPath}/type/edit" method="post">
                            <div class="form-group">
                                <label>编号</label>
                                <input type="text" readonly="readonly" class="form-control" name="typeid" value="${reader.typeid}" required>
                            </div>
                            <div class="form-group">
                                <label>名称</label>
                                <input type="text" class="form-control" name="typename" value="${reader.typename}" required>
                            </div>
                            <div class="form-group">
                                <input type="submit" class="form-control" value="保存">
                            </div>
                        </form>
                    </div>
                    <div class="col-md-8 column"></div>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>
